package saas.dev.clouduserprovide.event;

import com.baomidou.mybatisplus.extension.service.IService;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author : y1
 * @className : TestEvent
 * @date: 2022/7/20 13:47
 * @description :
 */
@Getter
public class OrderEvent extends ApplicationEvent {
    /**
     * 该类型事件携带的信息
     */
    private String orderId;

    public OrderEvent(Object source) {
        super(source);
    }

    public OrderEvent(Object source, String orderId) {
        super(source);
        this.orderId = orderId;
    }
}
